/*
 * @Author: atao
 * @Date: 2023-10-20 19:49:36
 * @LastEditTime: 2023-10-27 15:29:46
 * @FilePath: \三阶段项目\pili-pili-app\src\main.ts
 */
import { createApp } from 'vue'
import App from './pages/index.vue'
import router from './router/index'
import 'vant/lib/index.css'
import { pinia } from './store'
import {
  Button,
  NavBar,
  Field,
  CellGroup,
  Uploader,
  Form,
  Checkbox,
  Toast,
  Icon,
  Swipe,
  SwipeItem,
  Grid,
  GridItem,
  Progress,
  Barrage,
  Search,
  Area,
  Popup,
  DatePicker,
  Dialog,
  SubmitBar,
  AddressList,
  AddressEdit,
} from 'vant';
// import './style/index.css';
//   Swipe, SwipeItem,
//   Progress,
//   Barrage,
//   Search
// } from 'vant';    修改i冲突
// import './style/index.css';

//引入全局样式
import './style/index.less'
import '../src/font/iconfont.css'
import myPlugin from './components';
createApp(App)
.use(myPlugin)
  .use(Button)
  .use(NavBar)
  .use(router)
  .use(Field)
  .use(CellGroup)
  .use(Uploader)
  .use(Form)
  .use(Toast)
  .use(Checkbox)
  .use(Icon)
  .use(Swipe)
  .use(SwipeItem)
  .use(Grid)
  .use(GridItem)
  .use(Progress)
  .use(Barrage)
  .use(Search)
  .use(Area)
  .use(Popup)
  .use(DatePicker)
  .use(Dialog)
  .use(SubmitBar)
  .use(pinia)
  .use(AddressList)
  .use(AddressEdit)
  .use(Toast)
  .mount('#app')

